package com.zyh.service;

import com.zyh.core.Page;
import com.zyh.domain.Student;

import java.sql.SQLException;
import java.util.List;


public interface IStudentService {

    List<Student> getStudents(Student student) throws SQLException;

    int addStudent(Student student) throws SQLException;

    int deleteStudent(int id) throws SQLException;

    int updateStudent(Student student) throws SQLException;

    Student getStudent(int id) throws SQLException;

    Page<Student> getStudentPage(int pageNum, int pageSize, Student student) throws SQLException;
}
